home *** CD-ROM | disk | FTP | other *** search
- - These versions can be compiled with NASM. To compile, use eg.
-
- nasm.exe -f coff depack.nas
- nasm.exe -f coff depackf.nas
- nasm.exe -f obj depack16.nas
-
- - They work with DJGPP, Watcom and VC linkers (if compiled to COFF format).
- The 16bit version works with (at least) TASM/TLINK and BC.
-
- - In Watcom and VC files, you can use the following function declaration
- (modify if you are using aP_depack_asm_fast):
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- unsigned int __cdecl aP_depack_asm(unsigned char *, unsigned char *);
-
- #ifdef __cplusplus
- } /* extern "C" */
- #endif
-
- - In DJGPP files, you can use the following declaration
- (modify if you are using aP_depack_asm_fast):
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- unsigned int aP_depack_asm(unsigned char *, unsigned char *);
-
- #ifdef __cplusplus
- } /* extern "C" */
- #endif
-
- - In BC (DOS) files, you can use the following function declaration to use
- the 16bit depacker:
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- unsigned long aP_depack16_asm(unsigned char far*, unsigned char far*);
-
- #ifdef __cplusplus
- } /* extern "C" */
- #endif
-